package com.jbp.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class HamsterProbability implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;

    //锤子名称
    private String hammerName;

    //锤子标识：1-木锤；2-铜锤；3- 金锤
    private String hammerType;

    //地鼠名称
    private String hamsterName;

    //地鼠标识：塑料头盔地鼠1；木头盔地鼠2；银头盔地鼠3；金头盔地鼠4；皇冠5
    private String hamsterType;

    //中奖概率(千分之)
    private Integer appearanceProb;

    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    //修改时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
